projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2fde5e9
)
clipboard: Fix compiler warning
author
Benjamin Otte
<otte@redhat.com>
Mon, 7 Jul 2014 17:42:59 +0000
(19:42 +0200)
committer
Benjamin Otte
<otte@redhat.com>
Mon, 7 Jul 2014 18:06:40 +0000
(20:06 +0200)
Cast the type.
gtk/gtkclipboard-wayland.c
patch
|
blob
|
history
diff --git
a/gtk/gtkclipboard-wayland.c
b/gtk/gtkclipboard-wayland.c
index 9e728025d0fc672856d33c2a96547b440999a461..ccd3cf7da4105542a795084803f2a1ed8c8dd344 100644
(file)
--- a/
gtk/gtkclipboard-wayland.c
+++ b/
gtk/gtkclipboard-wayland.c
@@
-295,7
+295,7
@@
gtk_clipboard_wayland_request_contents (GtkClipboard *gtkclipboard,
n_atoms = gdk_wayland_device_get_selection_type_atoms (device, &atoms);
selection_data.length = n_atoms;
- selection_data.data = atoms;
+ selection_data.data =
(guchar *)
atoms;
callback (gtkclipboard, &selection_data, user_data);
return;